/**
 * 
 */
package Chain;

/**
 * @author sz
 *
 * create time：2013-5-7
 */
public class ConcreteHandler2 extends Handler{


	@Override
	public void HandleRequest(int request) {
		
		if(request >= 10 && request <20){
			System.out.println(this.getClass().getName()+ " 处理请求 "+request);
		}else if(successor != null){
			successor.HandleRequest(request);
		}
		
	}

}
